﻿namespace MiniFox.Components
{
    /// <summary>
    /// 
    /// </summary>
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
    public sealed class AutoConfigureAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public AutoConfigureAttribute() : this(null)
        {

        }
        /// <summary>
        /// 
        /// </summary>
        public AutoConfigureAttribute(string configurationKeyName)
        {
            ConfigurationKeyName = configurationKeyName;
        }
        /// <summary>
        /// 
        /// </summary>
        public string ConfigurationKeyName
        {
            get;
        }
    }
}